package com.chat.entry.vo.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserMessageVO {
    private Integer totalUnread;
    private List<FriendUnread> friendUnread;
    private List<GroupUnread> groupUnread;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class FriendUnread {
        private Integer senderId;
        private Integer unreadCount;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class GroupUnread {
        private Integer senderId;
        private Integer unreadCount;
    }

}
